package messaage;

import com.thoughtworks.xstream.XStream;
import com.thoughtworks.xstream.io.xml.DomDriver;

public class GetListOfForumsMsg extends Message {

	protected String username;

	public GetListOfForumsMsg(String uName) {
		this.username = uName;
		this.type = "GetListOfForumsMsg";
	}

	@Override
	public String toString() {
		XStream xstream = new XStream(new DomDriver());
		String xml = xstream.toXML(this)+"\0";

		return xml;
	}

	/**
	 * @return the username
	 */
	public String getUsername() {
		return username;
	}

}
